const state = {
  joinRoom: [],
  leaveRoom: {}
};

const mutations = {
  setJoinRoom(state,payload){
    state.joinRoom.push(payload);
  },
  setLeaveRoom(state,payload){
    state.leaveRoom.username = payload.username
  }
};

const actions = {};

const getters = {};

export default {
  state,
  mutations,
  actions,
  getters
};
